﻿using System.ComponentModel;
using System.Runtime.CompilerServices;

namespace WpfAppBindingDemo1010;

internal class ObservableObject: INotifyPropertyChanged
{
    public event PropertyChangedEventHandler PropertyChanged;
    public void RaisePropertyChanged([CallerMemberName] string propertyName = "")
    {
        PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
    }
}